package interfaces;

import java.io.Serializable;
import java.util.Vector;

import accessers.DataReader;

public interface SubscriberPublisherManager extends Serializable{
	int getSubscribersCount();
	int getPublishersCount();
	Vector<Subscriber> getSubscribers();
	Vector<Publisher> getPublishers();
	Subscriber addNewDataReaderListener(String topicName, DataReader listener);
	void removeDataReaderListener(String topicName, Subscriber topicSubscriber);
	void printPublisher();
	void printSubscribers();
}
